<?php  if (!defined("IS_INITPHP")) exit("Access Denied!");  /* INITPHP Version 1.0 ,Create on 2016-04-11 20:52:04, compiled from D:\phpStudy\WWW\Frame/app/web/template/admin/module_search_form.htm */ ?>
      
      <form action="" method="post" class="am-form-inline am-fr">       
        <div class="am-form-group">
        	<?php foreach  ($select_fields as $key=>$val) { ?>
		        <select  name ='<?php echo $key;?>' data-am-selected="{btnSize: 'xs'}">
		        	<option value="-1">所有</option>
		        	<?php foreach  ($val as $k=>$v) { ?>
		            <option value="<?php echo $k;?>"><?php echo $v;?></option>
		            <?php } ?>
		        </select>
        	<?php } ?>
        </div>

        <div class="am-input-group am-input-group-sm">
          <input type="text" name="keyword" class="am-form-field">
          <span class="am-input-group-btn">
            <button class="am-btn am-btn-default" type="submit" name="search">搜索</button>
          </span>
        </div>
      </form>